package com.burgeon.backend.SHOP.mappers;

import com.burgeon.backend.SHOP.entity.*;

import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.CopyOnWriteArrayList;

public interface GroupMapper {

    List<GroupOrder> getGroupOrderByGid(String gid);

    String showImg(String token);

    List<Group> showRecommendGroup(String token);

    Group getGroupById(String id);

    List<GroupItem> getGroupItem(String id);

    GroupOrder getGroupOrder(String id);

    CopyOnWriteArrayList<GroupVO> showGoodsGroup(String gid);

    String showGroupSumByGrid(String grid);

    List<Group> showGroup(String token);

    Goods showGoodsById(String gid);

    GroupItem getGroupItemByUidAndOrderId(String orderId);

    ArrayList<GroupItem> FindOrderIdmByGid(String groupId);
}
